package cn.edu.sptc.sms_chensiyi.service;

import cn.edu.sptc.sms_chensiyi.entity.Major;
import cn.edu.sptc.sms_chensiyi.entity.Student;

import java.util.List;

public interface StudentService {

    //增
    boolean insertStudent(Student student);
    //改
    boolean updateStudent(Student student);
    //删
    boolean deleteStudent(Long id);
    //查
    List<Student> queryByALl();
    Student queryByID(Long id);
}
